<ion-view view-title="订单详情" ng-init="getOrderDetail();getExhibitionDetail();">
  <ion-content class="padding">
    <!-- <div>订单详情</div>
    <div>
      <ul>
        <li>订单号：{{order.order_num}}</li>
        <li>订单状态：{{order.status}}</li>
        <li>票名称：{{order.name}}</li>
        <li>数量：{{order.amount}}</li>
        <li>总计：￥{{order.amount*order.price}}</li>
      </ul>
    </div> -->
    <div>展览详情</div>
    <div>
      <ul>
        <li>展览名称：{{exhibition.name}}</li>
        <li ng-repeat="ticket in exhibition.tickets" style="padding: 10px 0;">
          <p>票{{$index+1}}:</p>
          <p>id:{{ticket.id}}</p>
          <p>名称:{{ticket.name}}</p>
          <p>价格:{{ticket.price}}</p>
        </li>
      </ul>
    </div>
    <input type="number" name="" placeholder="请输入购买张数" style="display: block;border:1px solid #ccc;" ng-model="ticketNum">
    <button class="btn btn-primary" ng-click="orderpay(ticketNum)">支付</button>
  </ion-content>
</ion-view>